package com.wsoft.query.rules;

import com.alibaba.fastjson.JSONObject;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Author z001
 * @Date 2024/10/31 16:09
 */
@Data
public class InitCodeQuery {

    @NotBlank(message = "编码不能为空")
    @Schema(description = "编码")
    private String code;

    @Schema(description = "数据")
    private JSONObject objectJson;

    @Schema(description = "是否使用")
    private Integer isUsed = 1;
}
